package com.haizhi.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: youfeng
 * Date: 2018-09-26
 * Time: 16:31
 */
@Api("用户实体对象")
@Data
public class User {

    @ApiModelProperty("用户ID")
    private Integer id;

    @ApiModelProperty("用户名")
    private String username;

    @ApiModelProperty("用户密码")
    private Integer password;

    @ApiModelProperty("用户访问接口APP_KEY")
    @JsonProperty("app_key")
    private String appKey;

    @ApiModelProperty("用户账号到期时间")
    @JsonProperty("expire_time")
    private Timestamp expireTime;

    @ApiModelProperty("用户创建时间")
    @JsonProperty("create_time")
    private Timestamp createTime;

    @ApiModelProperty("用户信息最后修改时间")
    @JsonProperty("update_time")
    private Timestamp updateTime;

}
